<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*,dao.*,entity.*" %>
<%@ page import="dao.impl.destineDaoImpl,biz.*,biz.impl.*" %>
<html style="text-align: center">
<head>
    <title>会议室预定系统</title>
</head>
<body>
<table border="1" style="text-align: center;margin: auto">
    <tr bgcolor="#a9a9a9"><td colspan="4" style="font-family: 宋体;font-size: 35px">会议室信息</td></tr>
    <tr><td>编号</td><td>会议室名称</td><td>预定人</td><td>日期</td></tr>
    <%
        destineBiz mbiz=new destineBizImpl();
        List mlist = new ArrayList();
        mlist= mbiz.turnPage();
        for (int i =0;i < mlist.size();i++){
            destine message = (destine) mlist.get(i);
    %>
    <tr><td><%=message.getId()%></td><td><%=message.getRoom_name()%></td><td><%=message.getDestine_name()%></td><td><%=message.getDestine_time()%></td></tr>
    <%
        }
    %>
</table>
<a href="add.jsp">预定</a>
</body>
</html>
